<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html xmlns:c="http://java.sun.com/jsp/jstl/core">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>EAN Eingabe</title>
<link href="../../CSS/main.css" rel="stylesheet" type="text/css">
<link href="../../CSS/menu.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="../../JS/jquery.js"></script>
<script type="text/javascript"
	src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script type="text/javascript" src="../../JS/UI.js"></script>
<script type="text/javascript" src="../../JS/errorhandler_startseite.js"></script>

<script src="../../JS/jquery.validationEngine-de.js" type="text/javascript"
	charset="utf-8"></script>
<script src="../../JS/jquery.validationEngine.js" type="text/javascript"
	charset="utf-8"></script>

<link rel="stylesheet" href="../../CSS/validationEngine.jquery.css"
	type="text/css" />

<c:if test="${empty sessionScope.id}">
	<c:redirect url="../../index.jsp?error=3" />
</c:if>

</head>
<body>

	<div id="aussenwrapper">

		<div id="innenwrapper">

			<!-- HEADER -->
			<div id="header">
				<div id="logo">
					<img src="../../Image/Final.png" height="150" />


				</div>
				<div id="menu">
					<div class="inhalt">
						<ul>
							<li><a href="../startseite.jsp">Home</a></li>
							<li id="current"><a href="ean_eingabe_ajax.jsp">Eingabe</a></li>
							<li><a href="../konto.jsp">Mein Konto</a></li>
						</ul>
					</div>
				</div>
				<jsp:include page="eingabe_statusbox.jsp"></jsp:include>
			</div>



			<!--  Content-Bereich -->
			<div id="content">
				<div id="wrapper2">
					<div id="wrapper3">
						<form action="../../Beans/lebensmittel_bean.jsp" method="post"
							id="lebensmittel">
							
									<script>
				$(document).ready(function(){
   				 $("#lebensmittel").validationEngine();
   				});
					</script>

							<!--Ende #linksbox-->
							<div id="middle">
								<h4>Bitte geben Sie die EAN des Produktes ein:</h4>
								<input class="validate[required, custom[onlyNumber]]" name="ean" type="text" placeholder="EAN" size="50"
									>
								<p>
									<img src="../../Image/EAN.png" height="200" />
								</p>
							</div>


							<div id="rightbox">
								<p>
									<input id="ean_eingabe" type="submit" value="Suchen"
										class="button" />
								</p>
								<p>oder</p>
								<p>
									<input
										onclick="window.open('eanliste.jsp','','height=600,width=1000,top=100,left=100');return false"
										type="button" value="Liste" class="button" />
								</p>
								<a href="../kontakt_loggedin.jsp?ean=1">Lebensmittel
									existiert nicht?</a>

								<div id="eansection"></div>
							</div>
							<!--Ende #rechtsbox-->

							<div style="clear: left;"></div>
						</form>
					</div>
					<!--Ende #wrapper3-->
				</div>
				<!--Ende #wrapper2-->
			</div>
			<!--Ende content-->

			<span style="clear: both;"></span>

		</div>
		<!--Ende innenwrapper-->

		<jsp:include page="eingabe_footernavi.jsp"></jsp:include>
		<!--Ende footer-->

	</div>
	<!--Ende aussenwrapper-->
</body>
</html>